<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDPNET: ScenesFunctionsExtension.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDPNET<span id="projectnumber">&#160;1.0</span>
   </div>
   <div id="projectbrief">.NET SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>包</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_6e8f4508e1d360b9a007f40edb8dae96.html">_SSDP</a></li><li class="navelem"><a class="el" href="dir_b1efc71fc5c0b1546dfaf7dca60b6e03.html">最新</a></li><li class="navelem"><a class="el" href="dir_3da81ba1892e410416fdba26c4859275.html">Repo</a></li><li class="navelem"><a class="el" href="dir_36a1a74683486d663aaa949ba78ca961.html">bim-ssd-core-plugin</a></li><li class="navelem"><a class="el" href="dir_c085970a38f500e61b887bb609fc24fd.html">SSDP.Net</a></li><li class="navelem"><a class="el" href="dir_3d9778eef114628a3d8facdda36c5043.html">SSDPNet</a></li><li class="navelem"><a class="el" href="dir_bd54ebea303681ad88c98d142df46247.html">PublicAPI</a></li><li class="navelem"><a class="el" href="dir_a98111838889263eac9b791e52aad95a.html">ATFuncs</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ScenesFunctionsExtension.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma region Include_Platform</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &lt;ATECCore\ATECCoreAPI.h&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="keyword">using namespace </span>System;</div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">using namespace </span>System::Runtime::CompilerServices;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">using namespace </span>System::Runtime::InteropServices;</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span>USING_NAMESPACE_ATEC</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>USING_NAMESPACEATEC_ATDATACORE</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>USING_NAMESPACE_ATEC_RATCORE</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#pragma endregion Include_Platform</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>{</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html">   20</a></span>    <span class="keyword">public ref class</span> <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html">ScenesFunctions</a></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>    {</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>        <span class="keyword">static</span> ATEC::ATDataCoreNET::StatusInt    <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a08c3e1148ff9f4a36e1f1d57a9069b7f">SceneRefActivateAndDisplay</a>(ATEC::ATDataCoreNET::ATSceneRef   newSceneRef);</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>        <span class="keyword">static</span> <span class="keywordtype">bool</span>  <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#af36db34d4788eacb5b068c49302b8e1a">SceneRefAreSame</a>(ATEC::ATDataCoreNET::ATSceneRef  sceneRef1, ATEC::ATDataCoreNET::ATSceneRef  sceneRef2);</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>        <span class="keyword">static</span> ATEC::ATDataCoreNET::ATSceneRef     <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a8ee8289f4d61b96369685374fd8f07dc">SceneRefGetActive</a>();</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>        <span class="keyword">static</span> ATEC::ATDataCoreNET::StatusInt  <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a093952de752c2061bb943a1bcb3c2176">SceneRefGetFileName</a>(ATEC::ATDataCoreNET::ATSceneRef   SceneRef, <span class="keywordtype">string</span> fileName, <span class="keywordtype">int</span> fileNameBufSize);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>        <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a29a06674c4cf4a1437b86b77bcf2b56a">SceneRefGetUorPerMaster</a>(ATEC::ATDataCoreNET::ATSceneRef   SceneRef);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>        <span class="keyword">static</span> <span class="keywordtype">double</span>  <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a0fb37aae75e56c994c8c068456afc9da">SceneRefGetUorPerMeter</a>(ATEC::ATDataCoreNET::ATSceneRef   SceneRef);</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>        <span class="keyword">static</span> <span class="keywordtype">bool</span>    <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a8fe3b3c58db184da67bd6b7abaf1c57b">SceneRefIsReference</a>(ATEC::ATDataCoreNET::ATSceneRef   SceneRef);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>        </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>        <span class="keyword">static</span> ATEC::ATDataCoreNET::StatusInt  <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#ad4dde5e77e89c4500f5db7b834660959">SceneRefGetDefaultSceneRef</a>(out ATEC::ATDataCoreNET::ATSceneRef  defaultSceneRef, ATEC::ATDataCoreNET::ATSceneRef  SceneRef,</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>            <span class="keywordtype">bool</span> createIfNecessary, <span class="keywordtype">bool</span> fillCache, <span class="keywordtype">bool</span> loadRefs);</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    };</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>}</div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html">SSDPNET::ScenesFunctions</a></div><div class="ttdoc">模型类，模型相关信息获取</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.h:21</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_a08c3e1148ff9f4a36e1f1d57a9069b7f"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a08c3e1148ff9f4a36e1f1d57a9069b7f">SSDPNET::ScenesFunctions::SceneRefActivateAndDisplay</a></div><div class="ttdeci">static ATEC::ATDataCoreNET::StatusInt SceneRefActivateAndDisplay(ATEC::ATDataCoreNET::ATSceneRef newSceneRef)</div><div class="ttdoc">Desc： 激活并显示指定模型；该接口检查模型是否已在当前视图显示，如果没有，将会打开新的视图并将该模型作为新视图的根模型</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:5</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_a093952de752c2061bb943a1bcb3c2176"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a093952de752c2061bb943a1bcb3c2176">SSDPNET::ScenesFunctions::SceneRefGetFileName</a></div><div class="ttdeci">static ATEC::ATDataCoreNET::StatusInt SceneRefGetFileName(ATEC::ATDataCoreNET::ATSceneRef SceneRef, string fileName, int fileNameBufSize)</div><div class="ttdoc">Desc： 获取包含指定模型的文件的名称 该接口要求模型需存在元素缓存；例如当指定的模型是参照模型且未显示或者未找到时，该接口的调用将失败 ATEC::ATDataCoreNET::StatusInt ...</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:30</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_a0fb37aae75e56c994c8c068456afc9da"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a0fb37aae75e56c994c8c068456afc9da">SSDPNET::ScenesFunctions::SceneRefGetUorPerMeter</a></div><div class="ttdeci">static double SceneRefGetUorPerMeter(ATEC::ATDataCoreNET::ATSceneRef SceneRef)</div><div class="ttdoc">Desc： 获取模型每米对应的uor值</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:47</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_a29a06674c4cf4a1437b86b77bcf2b56a"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a29a06674c4cf4a1437b86b77bcf2b56a">SSDPNET::ScenesFunctions::SceneRefGetUorPerMaster</a></div><div class="ttdeci">static double SceneRefGetUorPerMaster(ATEC::ATDataCoreNET::ATSceneRef SceneRef)</div><div class="ttdoc">Desc： 获取模型主单位对应的uor值</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:39</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_a8ee8289f4d61b96369685374fd8f07dc"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a8ee8289f4d61b96369685374fd8f07dc">SSDPNET::ScenesFunctions::SceneRefGetActive</a></div><div class="ttdeci">static ATEC::ATDataCoreNET::ATSceneRef SceneRefGetActive()</div><div class="ttdoc">Desc： 获取活跃的模型</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:20</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_a8fe3b3c58db184da67bd6b7abaf1c57b"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a8fe3b3c58db184da67bd6b7abaf1c57b">SSDPNET::ScenesFunctions::SceneRefIsReference</a></div><div class="ttdeci">static bool SceneRefIsReference(ATEC::ATDataCoreNET::ATSceneRef SceneRef)</div><div class="ttdoc">Desc： 检查给定的模型是否是参照模型</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:54</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_ad4dde5e77e89c4500f5db7b834660959"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#ad4dde5e77e89c4500f5db7b834660959">SSDPNET::ScenesFunctions::SceneRefGetDefaultSceneRef</a></div><div class="ttdeci">static ATEC::ATDataCoreNET::StatusInt SceneRefGetDefaultSceneRef(out ATEC::ATDataCoreNET::ATSceneRef defaultSceneRef, ATEC::ATDataCoreNET::ATSceneRef SceneRef, bool createIfNecessary, bool fillCache, bool loadRefs)</div><div class="ttdoc">Desc： 获取场景所在的默认场景</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:61</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_scenes_functions_html_af36db34d4788eacb5b068c49302b8e1a"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#af36db34d4788eacb5b068c49302b8e1a">SSDPNET::ScenesFunctions::SceneRefAreSame</a></div><div class="ttdeci">static bool SceneRefAreSame(ATEC::ATDataCoreNET::ATSceneRef sceneRef1, ATEC::ATDataCoreNET::ATSceneRef sceneRef2)</div><div class="ttdoc">Desc： 检查给定的两个模型是否是同一模型</div><div class="ttdef"><b>Definition:</b> ScenesFunctionsExtension.cpp:12</div></div>
<div class="ttc" id="anamespace_s_s_d_p_n_e_t_html"><div class="ttname"><a href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></div><div class="ttdef"><b>Definition:</b> ATBtmkFuncsExtension.h:17</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
